#include<stdio.h>
int main(){
	int n=0;
	int count=0;
	scanf("%d",&n);
	do{
		count++;
		n=n/10;
	}while(n);
	printf("%d\n",count);
	return 0;
}
